package day01;

public class jiandanjuli {
	public static void main(String[] args) {
		double x1=1;
		double y1=2;
		double x2=3;
		double y2=4;
		double distance=Math.sqrt(Math.pow(x2-x1, 2)+Math.pow(y2-y1, 2));
		System.out.println("distance="+distance);
	}

}
